package top.jybill.domain;

import java.io.Serializable;

/**
 * 角色 : 用户对照表
 */
public class UserRole implements Serializable {
  private MyUser user;
  private Role role;

  public MyUser getUser() {
    return user;
  }

  public void setUser(MyUser user) {
    this.user = user;
  }

  public Role getRole() {
    return role;
  }

  public void setRole(Role role) {
    this.role = role;
  }

  @Override
  public String toString() {
    return "UserRole{" +
            "user=" + user +
            ", role=" + role +
            '}';
  }
}
